<script setup>
import { fontWeight } from "@/utils/dict"
const props = defineProps(["options"])
const option = toRef(props, "options")
</script>

<template>
  <div class="border-dotted border-2 p-1 ml-1 rounded mb-1">
    <a-form-item label="文字颜色">
      <xiri-form v-model="option.color" option="color" />
    </a-form-item>
    <a-form-item label="文字粗细">
      <xiri-form v-model="option.fontWeight" option="select" :optionList="fontWeight" />
    </a-form-item>
    <a-form-item label="文字大小">
      <xiri-form v-model="option.fontSize" option="number" />
    </a-form-item>
    <a-form-item label="文本高度">
      <xiri-form v-model="option.height" option="number" />
    </a-form-item>
  </div>
</template>

<style scoped lang="less"></style>
